package My.example.tes;

import My.example.config.springconfig;
import My.example.service.yanser;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class te4 {
    //模拟用户输入用户名和密码去掉输入的参数的空格
    public static void main(String[] args)
    {
        AnnotationConfigApplicationContext a=new AnnotationConfigApplicationContext(springconfig.class);
        yanser bean = a.getBean(yanser.class);

        System.out.println(bean.yyy1("root "," 123"));
    }
}
